:host {
  display: block;
}

/* 分类标题 */
.caption {
  display: flex;
  justify-content: center;
  padding: 36rpx 0 40rpx;
  font-size: 32rpx;
  color: #262626;
  line-height: 1;

  .text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 28rpx 0 30rpx;

    &::before,
    &::after {
      content: '';
      margin: 0 10rpx;
      width: 20rpx;
      height: 20rpx;
      background-image: url(@/static/images/bubble.png);
      background-size: contain;
    }
  }
}

/* 猜你喜欢 */
.guess {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20rpx;

  .guess-item {
    margin-bottom: 20rpx;
    padding: 24rpx 20rpx 20rpx;
    width: 345rpx;
    background-color: #fff;
    border-radius: 10rpx;
    overflow: hidden;
  }

  .image {
    width: 304rpx;
    height: 304rpx;
  }

  .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 10rpx 0;
    height: 75rpx;
    font-size: 26rpx;
    color: #262626;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .price {
    padding-top: 4rpx;
    font-size: 26rpx;
    color: #cf4444;
    line-height: 1;
  }

  .small {
    font-size: 80%;
  }
}

/* 加载提示文字 */
.loading-text {
  padding: 20rpx 0;
  font-size: 28rpx;
  color: #666;
  text-align: center;
}
